/**
 * Framework for batch testing user profile models
 * Final project by Sergey Nepomnyachiy and Julia Polchin
 * Supervisor: Tsvi Kuflik
 *
 */
package backend;

import interfaces.ProgressKeeperInterface;

/**
 * Dummy progress keeper
 * This one does nothing and should be used instead of null whenever we don't want to track progress. 
 * @author Sergey and Julia
 *
 */
public class DummyProgKeeper implements ProgressKeeperInterface {
	/**
	 * ALthough we do keep some track of internal state.
	 */
	private int size = -1;
	@Override
	public void add(int Length) {
		this.size += Length;
		
	}

	@Override
	public int getMax() {
		return this.size;
	}

	@Override
	public void setIndeterminate(boolean state) {
		//stub
	}

	@Override
	public void setMaximum(int newLength) {
		this.size = newLength;
		
	}

	@Override
	public void increment() {
		// Auto-generated method stub
	}

}
